package com.xyht.sca_s.student_manage_system.modules.infrastructureProject.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_infrastructure_project_approval_detail")
@ApiModel(value="SmsInfrastructureProjectApprovalDetail对象", description="基础建设审批详情（流程节点）")
public class SmsInfrastructureProjectDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "审批表id")
    private String examineId;

    @ApiModelProperty(value = "系统流程节点id")
    private String processId;

    private String processName;

    @ApiModelProperty(value = "是否签名  0：不签名   1：签名")
    private Boolean processIsSign;

    @ApiModelProperty(value = "是否盖章 0：不盖章   1：盖章")
    private Boolean processIsStamp;

    @ApiModelProperty(value = "审批顺序")
    private Integer detailSort;

    @ApiModelProperty(value = "流程对象类型  1：个人  2：角色")
    private Integer processObjectType;

    private String objectName;

    private String objectPic;

    @ApiModelProperty(value = "审批人用户信息")
    private SmsInfrastructureProjectUserVo allowUserInfo;

    @ApiModelProperty(value = "审批人id")
    private String detailAllowUserId;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer detailAllowStatus;

    @ApiModelProperty(value = "审批时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date detailAllowTime;

    @ApiModelProperty(value = "审批意见")
    private String detailAllowOpinion;

    @ApiModelProperty(value = "用户签名")
    private String detailAllowSign;

    @ApiModelProperty(value = "用户印章")
    private String detailAllowStamp;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createTime;

}
